import { get, post,del } from '../../utils/request';

//拼团首页(分类和轮播)
export function groupIndex() {
    return get(`/collage/group/index`);
}
//拼团首页商品
export function groupGoods(obj) {
    return get(`/collage/group/goods`,obj);
}

//我的拼团
export function myGroup(obj) {
    return get(`/collage/group/my`,obj);
}
//拼团搜索
export function groupSearch(obj) {
    return get(`/collage/group/my/search`,obj);
}
//取消拼团
export function cancleGroup(obj) {
    return get(`/collage/group/cancel/${obj.id}`,obj);
}
//团信息
export function groupDetail(obj) {
    return get(`/collage//group/detail/${obj.id}`,obj);
}